from os.path import exists
from_file:str = input("请输入源文本文件名")
to_file:str = input("请输入目标文本文件名")
open(to_file,"w").write(open(from_file,'r').read())